package com.zxw.hotel.service;

import com.zxw.hotel.common.Pageinfo;
import com.zxw.hotel.model.Admin;
import com.zxw.hotel.model.extend.AdminExtend;

import java.util.List;

public interface AdminService {
    List<Admin> getAll(Pageinfo pageinfo, AdminExtend adminExtend);
    int deleteByIds(Integer[] ids);

    boolean update(Admin admin);
    boolean add(Admin admin);
}
